package com.googlecode.afx.i18.exception;

import org.springframework.core.NestedRuntimeException;

public class ErrorCodeSupportingException extends NestedRuntimeException {

	private String errorCode;
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3252549421398504960L;

	public ErrorCodeSupportingException(String errorCode) {
		super(errorCode);
		this.errorCode = errorCode;
	}

	public ErrorCodeSupportingException(String errorCode, Throwable cause) {
		super(errorCode, cause);
		this.errorCode = errorCode;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

}
